<template>
	<view class="xcBox">
		<view class="title" v-if="title != ''">
			{{title}}
		</view>
		<slot name="content"></slot>
		<slot name="btns"></slot>
	</view>
</template>

<script>
	export default {
		props:{
			title:{
				type:String,
				default:''
			},
		}
	}
</script>

<style lang="scss">
	.xcBox {
		border-radius: 20upx;
		background-color: #fff;
		padding:44upx 26upx 60upx  26upx;
		.title {
			font-size: $uni-font-size-md;
			font-weight: 600;
			text-align: center;
		}
	}
</style>
